WCPay\MultiCurrency\Compatibility\WooCommerceSubscriptions B

Total Complexity 88
Dependencies 4
Dependents 1
Total lines 545
Lines of code 233
Logical lines of code 136
Comment lines 238
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
get_subscription_product_signup_fee()
A
49 14 30
get_subscription_type_from_cart()
A
53 12 21
should_convert_product_price()
A
52 9 28
override_selected_currency()
A
54 8 20
should_convert_coupon_amount()
S
57 7 18
get_subscription_from_superglobal_switch_id()
S
55 7 18
should_disable_currency_switching()
S
63 6 12
init()
S
54 5 18
is_coupon_type()
S
58 4 15
maybe_get_explicit_format_for_subscription_total()
S
59 4 14
get_subscription_product_price()
S
70 3 6
maybe_set_current_my_account_subscription()
S
64 2 11
maybe_disable_mixed_cart()
S
72 2 6
maybe_clear_current_my_account_subscription()
S
70 2 7
get_subscription()
S
71 2 6
is_current_my_account_subscription_set()
S
79 1 3